package com.infore.authorityManagement.service;

import java.util.List;
import java.util.Map;

import com.infore.authorityManagement.entity.SysPermission;
import com.infore.authorityManagement.util.Page;

public interface ISysPermissionService {

    List<SysPermission> getPermissions(SysPermission sysPermission);

    Page<SysPermission> getPermissionsForPage(SysPermission sysPermission, Integer pageNo, Integer pageSize);

    SysPermission getPermissionById(String permissionId);

    Map<String, Object> addPermission(SysPermission sysPermission);

    int updatePermission(SysPermission sysPermission);

    int deletePermission(String permissionId);

}
